home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19950329-19950528
/
000155_news@columbia.edu_Mon Apr 17 14:35:21 1995.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA23244
(5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Mon, 17 Apr 1995 10:35:28 -0400
Received: by apakabar.cc.columbia.edu id AA24581
(5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Mon, 17 Apr 1995 10:35:26 -0400
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Automated SLIP logins from MSK...?
Date: 17 Apr 1995 14:35:21 GMT
Organization: Columbia University
Lines: 82
Message-Id: <3mtub9$nvo@apakabar.cc.columbia.edu>
References: <3mt4ug$evh@kelly.teleport.com>
Nntp-Posting-Host: watsun.cc.columbia.edu
Apparently-To: kermit.misc@watsun.cc.columbia.edu
In article <3mt4ug$evh@kelly.teleport.com>,
FIGHT THE POWER <sysone@teleport.com> wrote:
: First: I have begun using Kermit over a dial-up SLIP
: connection to my local provider. My script for doing this loads
: the SLIP8250 driver if necessary, gets my password and dials. It
: then handles the login. Once the connection is authorized, the
: system displays the following:
:
: Set IP address of interface 'myname-slip'
: Packet mode enabled for IP address: aaa.bbb.ccc.ddd
:
: At this point, I escape back to my Kermit prompt and enter
:
: Mykermit>set tcp/ip host myname-slip
: Mykermit>set tcp/ip address aaa.bbb.ccc.ddd
:
: and from there I can TELNET &c. No problem so far. What I would
: like to do is to automate the last portion of the transaction;
: that is, for Kermit somehow to grab the hostname and address from
: the incoming data. If I could get the incoming lines into some
: variable(s), I might be able to use some of the new (3.14)
: functions on them. INPUT and REINPUT don't seem to be geared for
: this job -- at least from what the book and docs say. Is there a
: way to retrieve and use information in this way within Kermit?
:
Yes. These are just hints; you'll have to work out the details
yourself. Something like this:
INPUT 10 Packet mode enabled for IP address:
IF FAIL ...
CLEAR INPUT
INPUT 5 \13
At this point, the \v(input) variable should have the value
of your IP addresss in it, perhaps with leading and/or trailing
whitespace and carriage return. Now you should be able to do
something like:
SET TCP/IP ADDRESS \v(input)
or:
ASSIGN MYIP \v(input)
SET TCP/IP ADDRESS \m(myip)
Better yet, if your terminal server supports it (as do, for
example, Ciscos), use BOOTP. MS-DOS Kermit can be told to
SET TCP/IP ADDRESS BOOTP, and the SLIP server can be configured
to pass along BOOTP requests to your university's BOOTP server.
Check your terminal server manual to see if this is possible.
: Second: At the library where I work I have installed
: Kermit on several PCs acting as terminals for the on-line
: catalog -- these are on an ethernet. There are also some
: recently delivered computers which are hooked directly to the
: host via 9600-baud lines (COM1). On these latter machines, the
: host sends out escape sequences to change character colors
: regardless of the terminal type. Even 'TYMONO' does this. The
: problem is that the colors used are horrible. It would be much
: nicer to stick with basic screen colors; I like to use cyan on
: black with green underscore. Is there a way to instruct MS-DOS
: Kermit to ignore certain incoming escape sequences? The problem
: is not such attributes as 'bold, reverse underline,' as these I
: can control. The problem is the actual color change commands;
: e.g. ^[[34;40m or ^[[36;40m sequences. It is these I would like to
: screen out. Is such selective screening possible?
:
Long question, short answer: No.
: P.S. I just received _Kermit News_ No. 6 via snail. The
: Brazilian Elections article was fascinating. Thanks!
:
Glad you liked it. As noted earlier, those of you who did not
receive this issue can look at it on the Web at:
http://www.columbia.edu/kermit/newsn6.html
Or can ftp the ASCII or PostScript versions from:
ftp://kermit.columbia.edu/kermit/e/newsn6.txt or .ps.
- Frank